package content

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/content/v1"
)

func (c *ControllerV1) ArticleCateDestroy(ctx context.Context, req *v1.ArticleCateDestroyReq) (res *v1.ArticleCateDestroyRes, err error) {
	res = &v1.ArticleCateDestroyRes{}
	err = service.ArticleCate().Destroy(ctx, req.Ids)
	return
}
